﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F8B RID: 3979
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicUnitReforgeCsReq : IMessage<RogueMagicUnitReforgeCsReq>, IMessage, IEquatable<RogueMagicUnitReforgeCsReq>, IDeepCloneable<RogueMagicUnitReforgeCsReq>, IBufferMessage
	{
		// Token: 0x1700326C RID: 12908
		// (get) Token: 0x0600B23B RID: 45627 RVA: 0x001E175C File Offset: 0x001DF95C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicUnitReforgeCsReq> Parser
		{
			get
			{
				return RogueMagicUnitReforgeCsReq._parser;
			}
		}

		// Token: 0x1700326D RID: 12909
		// (get) Token: 0x0600B23C RID: 45628 RVA: 0x001E1763 File Offset: 0x001DF963
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicUnitReforgeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700326E RID: 12910
		// (get) Token: 0x0600B23D RID: 45629 RVA: 0x001E1775 File Offset: 0x001DF975
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicUnitReforgeCsReq.Descriptor;
			}
		}

		// Token: 0x0600B23E RID: 45630 RVA: 0x001E177C File Offset: 0x001DF97C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitReforgeCsReq()
		{
		}

		// Token: 0x0600B23F RID: 45631 RVA: 0x001E178F File Offset: 0x001DF98F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitReforgeCsReq(RogueMagicUnitReforgeCsReq other) : this()
		{
			this.magicUnitIdList_ = other.magicUnitIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B240 RID: 45632 RVA: 0x001E17B9 File Offset: 0x001DF9B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicUnitReforgeCsReq Clone()
		{
			return new RogueMagicUnitReforgeCsReq(this);
		}

		// Token: 0x1700326F RID: 12911
		// (get) Token: 0x0600B241 RID: 45633 RVA: 0x001E17C1 File Offset: 0x001DF9C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> MagicUnitIdList
		{
			get
			{
				return this.magicUnitIdList_;
			}
		}

		// Token: 0x0600B242 RID: 45634 RVA: 0x001E17C9 File Offset: 0x001DF9C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicUnitReforgeCsReq);
		}

		// Token: 0x0600B243 RID: 45635 RVA: 0x001E17D7 File Offset: 0x001DF9D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicUnitReforgeCsReq other)
		{
			return other != null && (other == this || (this.magicUnitIdList_.Equals(other.magicUnitIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B244 RID: 45636 RVA: 0x001E180C File Offset: 0x001DFA0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.magicUnitIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B245 RID: 45637 RVA: 0x001E1840 File Offset: 0x001DFA40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B246 RID: 45638 RVA: 0x001E1848 File Offset: 0x001DFA48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B247 RID: 45639 RVA: 0x001E1851 File Offset: 0x001DFA51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.magicUnitIdList_.WriteTo(ref output, RogueMagicUnitReforgeCsReq._repeated_magicUnitIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B248 RID: 45640 RVA: 0x001E1878 File Offset: 0x001DFA78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.magicUnitIdList_.CalculateSize(RogueMagicUnitReforgeCsReq._repeated_magicUnitIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B249 RID: 45641 RVA: 0x001E18B1 File Offset: 0x001DFAB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicUnitReforgeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.magicUnitIdList_.Add(other.magicUnitIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B24A RID: 45642 RVA: 0x001E18DF File Offset: 0x001DFADF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B24B RID: 45643 RVA: 0x001E18E8 File Offset: 0x001DFAE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U && num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.magicUnitIdList_.AddEntriesFrom(ref input, RogueMagicUnitReforgeCsReq._repeated_magicUnitIdList_codec);
				}
			}
		}

		// Token: 0x04004816 RID: 18454
		private static readonly MessageParser<RogueMagicUnitReforgeCsReq> _parser = new MessageParser<RogueMagicUnitReforgeCsReq>(() => new RogueMagicUnitReforgeCsReq());

		// Token: 0x04004817 RID: 18455
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004818 RID: 18456
		public const int MagicUnitIdListFieldNumber = 2;

		// Token: 0x04004819 RID: 18457
		private static readonly FieldCodec<uint> _repeated_magicUnitIdList_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x0400481A RID: 18458
		private readonly RepeatedField<uint> magicUnitIdList_ = new RepeatedField<uint>();
	}
}
